package com.wj.ballcat.demo.service;

import com.hccake.extend.mybatis.plus.service.ExtendService;
import com.wj.ballcat.demo.model.dto.DemoUserDTO;
import com.wj.ballcat.demo.model.entity.DemoUser;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface DemoUserService extends ExtendService<DemoUser>  {
	@Transactional(readOnly = true)
	List<DemoUserDTO> searchUserByName(String name);

	@Transactional(readOnly = true)
	List<DemoUserDTO> searchUserByName2(String name);
}
